import request from '@/utils/request'
// 基本信息
export const getuserjibenxinxiapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/basic/info', { params })
// 能耗概况
export const getmemghaigaikuangapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/consumption/overview', { params })
// 同环比分析
export const gettonghuanbiapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/onMonth/analysis', { params })
// 实时曲线
export const getshihsiquxianpai = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/realTime/line', { params })
// 用电构成
export const getgouchengpieapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/electrical/structure', { params })
// 用电结构区县
export const getgouchengquxianapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/electrical/structureLine', { params })
// 节能潜力
export const getqianliapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/energy/save/potential', { params })
// 碳排放
export const getttanpaiapi = params => request.get('ecm-microservice-biz/ecm/energy/user/profile/carbon/structure', { params })
// 异常设备
export const getyichangshebeiapi=params=>request.get('pio-microservice-biz/pio/alarm/realTimeAlarmList',{params})